import _fetch from "./request.js";
function getBusinList(params) {
  return _fetch({
    url: "/enterprise/list",
    method: "get",
    params: params,
  });
}
function addBusiness(data) {
  return _fetch({
    url: "/enterprise/add",
    method: "post",
    data,
  });
}
function businessStatus(data) {
  return _fetch({
    url: "/enterprise/status",
    method: "post",
    data,
  });
}
function businessRemove(data) {
  return _fetch({
    url: "/enterprise/remove",
    method: "post",
    data,
  });
}
function businessEdit(data) {
  return _fetch({
    url: "/enterprise/edit",
    method: "post",
    data,
  });
}
export {
  getBusinList,
  addBusiness,
  businessStatus,
  businessRemove,
  businessEdit,
};
